package com.woniu.liuzhougov.businessproject.dao;

import com.woniu.liuzhougov.businessproject.dto.BusinessProjectInitDTO;
import com.woniu.liuzhougov.businessproject.pojo.BusinessProject;
import com.woniu.liuzhougov.businessproject.dto.BusinessProjectDTO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BusinessProjectMapper {
    int deleteByPrimaryKey(Integer businessProjectId);

    int insert(BusinessProject record);

    int insertSelective(BusinessProject record);

    BusinessProject selectByPrimaryKey(Integer businessProjectId);

    int updateByPrimaryKeySelective(BusinessProject record);

    int updateByPrimaryKey(BusinessProject record);

    List<BusinessProjectDTO> selectBusinessProjectsList();

    List<BusinessProjectDTO> selectProject(BusinessProject projectName);

    BusinessProjectInitDTO initUpdateForm(Integer businessProjectId);
}